package framework.office.apache.poi.xls;
import java.io.FileOutputStream;
import java.io.IOException;

import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
public class test1 {
	public static void main(String[] args) throws Exception {
		HSSFWorkbook wb = new HSSFWorkbook();
		HSSFSheet sheet = wb.createSheet();
		HSSFRow row = sheet.createRow(0);
		row.setHeight((short) 250);
		sheet.setColumnWidth((short) 0, (short) 250);
		FileOutputStream fileOut = new FileOutputStream("c:\\a.xls");
		wb.write(fileOut);
		fileOut.close();
	}
}
